package hce.core.composition.content.navigation

import hce.core.composition.content.ContentItem

class Section extends ContentItem{

    //static hasMany = [sitems:ContentItem]

    // Correccion de sitems a items
    // PAB: corregido a items 17-01-2010
    static hasMany = [items:ContentItem]
    static mapping = {
        items column: "section_items"
        items cascade: "save-update"
    }
    
    /*
    static mapping = {
        sitems cascade: "save-update"
    }
    */

    static constraints = {
    }
}
